package com.rgsx.vo.entiyVo;

import com.rgsx.entiy.Position;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PosListItem {
    private Position positionStart;
    private String orderId;
    private String passengerName;
    private String userHeader;

    public PosListItem(Position position, Long orderId) {
        this.positionStart = position;
        this.orderId = String.valueOf(orderId);
    }
}
